package com.fanhao.dllo.soundfm.utils;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.TextView;

/**
 * Created by dllo on 16/1/15.
 */
public class MarqueeTextView extends TextView {
    public MarqueeTextView(Context context) {
        super(context);
    }

    public MarqueeTextView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    /**
     * 将返回值设置为true
     * 文字就可以达到跑马灯的效果
     * @return
     */
    @Override
    public boolean isFocused() {
        return true;
    }
}
